2b640f0f6918c5574501bb03c3b1038c6a7df0f8,findbugs/src/java/edu/umd/cs/findbugs/detect/FindJSR166LockMonitorenter.java,FindJSR166LockMonitorenter,analyzeMethod,#ClassContext#Method#,108

Before Change


						if (m != null && m.isPublic() && c.isPublic())
							bugReporter.reportBug(new BugInstance(this, "TESTING", NORMAL_PRIORITY).addClassAndMethod(
							        classContext.getJavaClass(), method)
							        .addString("Calling wait or notify on a util.concurrent object that supports await")
							        .addCalledMethod(cpg, iv)
							        .addType(classDescriptor).describe(TypeAnnotation.FOUND_ROLE)
							        .addSourceLine(classContext, method, location));

After Change


							bugReporter.reportBug(new BugInstance(this, "JML_JSR166_CALLING_WAIT_RATHER_THAN_AWAIT", priority).addClassAndMethod(
							        classContext.getJavaClass(), method)
							        .addCalledMethod(cpg, iv)
							        .addMethod(m).describe(MethodAnnotation.METHOD_ALTERNATIVE_TARGET)
							        .addType(classDescriptor).describe(TypeAnnotation.FOUND_ROLE)
							        .addSourceLine(classContext, method, location));

					} catch (CheckedAnalysisException e) {